package com.IntelligentCommunity.community.mapper;

import com.IntelligentCommunity.common.core.domain.R;
import com.IntelligentCommunity.community.domain.EstateCount;
import com.IntelligentCommunity.community.domain.PopulationCount;
import com.IntelligentCommunity.community.domain.StatisticsData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @Author：ZHP
 * @Package：com.IntelligentCommunity.community.mapper
 * @Project：IntelligentCommunity
 * @name：StatisticsDataMapper
 * @Date：2024/7/21 12:02
 * @Filename：StatisticsDataMapper
 */
@Mapper
public interface StatisticsDataMapper {

    Integer getSecurityFacilitiesNum(@Param("userDistrictPermissions") Set<String> userDistrictPermissions);


    Integer getDistrict(@Param("userDistrictPermissions") Set<String> userDistrictPermissions);

    Integer getPopulation(@Param("userDistrictPermissions") Set<String> userDistrictPermissions);

    Integer getRealEstateNum(@Param("userDistrictPermissions") Set<String> userDistrictPermissions);

    Integer getVehicleNum(@Param("userDistrictPermissions") Set<String> userDistrictPermissions);

    List<PopulationCount> getPopulationCount();

    List<EstateCount> estateCount();

}
